package com.xszx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@NoArgsConstructor
@AllArgsConstructor
@Table(name = "history")
@Entity
@Data
public class History {
    @Id
    @Column(name = "id")
    private Long id;
    @Column(name = "account",nullable = false)
    private String account;
    @Column(name = "info")
    private String info;
}
